package com.rc.saas.tenant.model.enterprise;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.saas.tenant.base.BaseModel;
import com.rc.saas.tenant.vo.enterprise.EnterpriseStatusMemberConverter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class EnterpriseSubmemberApply extends BaseModel {
    @ExcelProperty(value = "企业成员ID",index = 0)
    private Long submemberApplyId;
    @ExcelIgnore
    private String tenantCode;
    @ExcelIgnore
    private Long enterpriseId;
    @ExcelIgnore
    private Long enterpriseMemberId;
    @ExcelIgnore
    private String enterpriseMobile;
    @ExcelIgnore
    private Long subMemberId;
    @ExcelIgnore
    private String submemberMobile;
    @ExcelIgnore
    private String submemberNickname;
    @ExcelIgnore
    private String applyType;
    @ExcelIgnore
    private String applySource;
    @ExcelIgnore
    private String headImg;

    @ExcelProperty(value = "状态",index = 8, converter = EnterpriseStatusMemberConverter.class)
    private String status;
    @ExcelIgnore
    private String applyStatus;
    @ExcelIgnore
    private String reason;
    @ExcelIgnore
    private String createdBy;
    @ExcelIgnore
    private Date createdTime;
    @ExcelIgnore
    private String lastUpdatedBy;
    @ExcelIgnore
    private Date lastUpdatedTime;
    @ExcelIgnore
    private String nickname;

    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @ExcelIgnore
    private Date birthday;
    @ExcelIgnore
    private String sex;
    @ExcelIgnore
    private String citizenshipNumber;
    @ExcelIgnore
    private String address;
    @ExcelIgnore
    private String hasPermission;

    @ExcelProperty(value = "推荐人ID",index = 2)
    private Long recommenderId;

    @ExcelProperty(value = "所属企业",index = 3)
    private String enterpriseName;
    @ExcelIgnore
    private String enterpriseOwner;
    @ExcelIgnore
    private String ownerMobile;

    @ExcelProperty(value = "姓名",index = 1)
    private String contactName;

    @ExcelProperty(value = "手机号",index = 4)
    private String phone;
    @ExcelIgnore
    private Long memberId;
    @ExcelIgnore
    private String nameWx;

    public Long getSubmemberApplyId() {
        return submemberApplyId;
    }

    public void setSubmemberApplyId(Long submemberApplyId) {
        this.submemberApplyId = submemberApplyId;
    }

    public String getTenantCode() {
        return tenantCode;
    }

    public void setTenantCode(String tenantCode) {
        this.tenantCode = tenantCode;
    }

    public Long getEnterpriseId() {
        return enterpriseId;
    }

    public void setEnterpriseId(Long enterpriseId) {
        this.enterpriseId = enterpriseId;
    }

    public Long getEnterpriseMemberId() {
        return enterpriseMemberId;
    }

    public void setEnterpriseMemberId(Long enterpriseMemberId) {
        this.enterpriseMemberId = enterpriseMemberId;
    }

    public String getEnterpriseMobile() {
        return enterpriseMobile;
    }

    public void setEnterpriseMobile(String enterpriseMobile) {
        this.enterpriseMobile = enterpriseMobile;
    }

    public Long getSubMemberId() {
        return subMemberId;
    }

    public void setSubMemberId(Long subMemberId) {
        this.subMemberId = subMemberId;
    }

    public String getSubmemberMobile() {
        return submemberMobile;
    }

    public void setSubmemberMobile(String submemberMobile) {
        this.submemberMobile = submemberMobile;
    }

    public String getSubmemberNickname() {
        return submemberNickname;
    }

    public void setSubmemberNickname(String submemberNickname) {
        this.submemberNickname = submemberNickname;
    }

    public String getApplyType() {
        return applyType;
    }

    public void setApplyType(String applyType) {
        this.applyType = applyType;
    }

    public String getApplySource() {
        return applySource;
    }

    public void setApplySource(String applySource) {
        this.applySource = applySource;
    }

    public String getHeadImg() {
        return headImg;
    }

    public void setHeadImg(String headImg) {
        this.headImg = headImg;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(String applyStatus) {
        this.applyStatus = applyStatus;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getCitizenshipNumber() {
        return citizenshipNumber;
    }

    public void setCitizenshipNumber(String citizenshipNumber) {
        this.citizenshipNumber = citizenshipNumber;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getHasPermission() {
        return hasPermission;
    }

    public void setHasPermission(String hasPermission) {
        this.hasPermission = hasPermission;
    }

    public Long getRecommenderId() {
        return recommenderId;
    }

    public void setRecommenderId(Long recommenderId) {
        this.recommenderId = recommenderId;
    }

    public String getEnterpriseName() {
        return enterpriseName;
    }

    public void setEnterpriseName(String enterpriseName) {
        this.enterpriseName = enterpriseName;
    }

    public String getEnterpriseOwner() {
        return enterpriseOwner;
    }

    public void setEnterpriseOwner(String enterpriseOwner) {
        this.enterpriseOwner = enterpriseOwner;
    }

    public String getOwnerMobile() {
        return ownerMobile;
    }

    public void setOwnerMobile(String ownerMobile) {
        this.ownerMobile = ownerMobile;
    }

    public String getContactName() {
        return contactName;
    }

    public void setContactName(String contactName) {
        this.contactName = contactName;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getNameWx() {
        return nameWx;
    }

    public void setNameWx(String nameWx) {
        this.nameWx = nameWx;
    }
}
